#!/bin/bash

#dir=disk_only_test
dir=realtest

if [[ $# != 4 ]]; then
    echo $#
    echo "Usage:  $0 [prefix] [blocksize] [clinum] [bitrate]"
    exit -1
fi

targetDir=$1_$2M_$4

#mkdir -p ./$dir/$targetDir/$3/diskwaitnum/
mkdir -p ./$dir/$targetDir/$3/cliacc/

mv disk*.dat ./$dir/$targetDir/$3
mv net*.dat  ./$dir/$targetDir/$3
mv cpu*.dat  ./$dir/$targetDir/$3

#mv ./diskwaitnum/* ./$dir/$targetDir/$3/diskwaitnum/

#mv ./cliacc/* ./$dir/$targetDir/$3/cliacc/
